POV-Ray : Newsgroups : povray.general : Fire Textures anyone? : Re: Fire Textures anyone? Server Time
3 Aug 2024 22:10:51 EDT (-0400)
  Re: Fire Textures anyone?  
From: Warp
Date: 28 Sep 2003 17:22:36
Message: <3f77511c@news.povray.org>
-s0da- <ske### [at] msncom> wrote:
> I took this texture definition, pretty much created the same thing
> in Moray.  When I preview the texture, it looks fine.

  The fire (and the smoke) is not a texture but a media which is defined
in the inside of the sphere (the texture in my code is just the wooden
texture of the torch).
  That is, you can't use it as texture but you have to use it as media
inside a hollow sphere, as in my code.

  Btw, the "smoke" is actually not smoke, but some light-emitting media.
You might need to change it to absorbing media or remove it completely.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.